package com.rp.configure.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rp.configure.entity.OperationLog;
import com.rp.configure.mapper.OperationLogMapper;
import com.rp.configure.service.OperationLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author vicente
 * @since 2021-07-19
 */
@Service
public class OperationLogServiceImpl extends ServiceImpl<OperationLogMapper, OperationLog> implements OperationLogService {
    @Autowired
    OperationLogMapper operationLogMapper;
    @Override
    public IPage<OperationLog> listPage(Page<OperationLog> objectPage, String userId, String gatewayId,String subjectId) {
        return operationLogMapper.listPage(objectPage,userId,gatewayId,subjectId);
    }
}
